<html>
    <head>
        <title>Add item</title>
		<!-- .Willflow iPhone SDK -->
		<meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
		<link rel="stylesheet" href="../../src/wf-iphone/iphone.css" />
		<script type="text/javascript" src="../../src/mootools/mootools-core.js"></script>
		<script type="text/javascript" src="../../src/wf-iphone/iphone.js"></script>
    </head>
    <body>
		<div wf_type="toolbar">
			<form action="add_item.html" method="post" enctype="multipart/form-data">
				<input type="hidden" name="user_id" value="1"></input>
				<table wf_style="fullscreen">
					<tbody>
						<tr>
							<td><label for="photo"><div>Photo</div></label></td>
							<td><div><input type="file" name="photo" wf_input_widget="camera"></input></div></td>
						</tr>
						<tr>
							<td><label for="name"><div>Item name</div></label></td>
							<td><div><input type="text" name="name"></input></div></td>
						</tr>
						<tr>
							<td><label for="name"><div>Category</div></label></td>
							<td><div>								
								<select name="category">
									<option>Books</option>
									<option>DVD</option>
									<option>CD</option>
									<option>Games</option>
									<option>Toys</option>
									<option>Comics</option>
								</select>
								</div>
							</td>
						</tr>
					</tbody>
				</table>
				<input type="submit" value="Add"></input>
			</form>
		</div>
    </body>
	<script>
		window.addEvent("load", function() {
			WF.initIPhone();
		});
	</script>
</html>
